package itsm.isperp.module.entity.slm;

import itsm.isperp.framework.domain.IBean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/// <summary>
/// 描述:slm_alarm_object
/// 创建者:zhouhg
/// 创建时间:2013/3/20
/// </summary>
@Entity
@Table(name = "slm_alarm_object")
public class SlmAlarmObject implements IBean {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@Id
	String id;
	@Column
	String relationId;
	@Column
	protected short assignType;
	@Column
	protected String cmpIds;
	@Column
	protected String cmpNames;
	@Column
	protected short compType;

	@Override
	public String getId() {
		return id;
	}

	@Override
	public void setId(String id) {
		this.id = id;
	}

	public String getRelationId() {
		return relationId;
	}

	public void setRelationId(String relationId) {
		this.relationId = relationId;
	}

	public short getAssignType() {
		return assignType;
	}

	public void setAssignType(short assignType) {
		this.assignType = assignType;
	}

	public String getCmpIds() {
		return cmpIds;
	}

	public void setCmpIds(String cmpIds) {
		this.cmpIds = cmpIds;
	}

	public String getCmpNames() {
		return cmpNames;
	}

	public void setCmpNames(String cmpNames) {
		this.cmpNames = cmpNames;
	}

	public short getCompType() {
		return compType;
	}

	public void setCompType(short compType) {
		this.compType = compType;
	}

}
